package com.bookstore.Service;

import com.bookstore.Domain.Person;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface PersonService {
    /**
     * 获取所有信息
     * @return
     */
    List<Person> getAllPerson();

    /**
     * 添加相关人员信息
     */
    boolean addPerson(Person person);

    /**
     * 删除行数据
     */
    boolean deletePesson(int[] ids);
}
